html {
  background: #eeeeee;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4em;
  background: #eeeeee;
  color: #333333;
}

#todoapp {
  background: white;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
}

#todoapp h1 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  padding: 20px 0 30px 0;
  line-height: 1;
}

#create-todo {
  position: relative;
}

#create-todo input {
  font-family: inherit;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}

#create-todo span {
  position: absolute;
  z-index: 999;
  left: 50%;
  margin-left: -85px;
}

#todo-list {
  margin-top: 10px;
}
#todo-list li {
  padding: 12px 20px 11px 0;
  position: relative;
  font-size: 24px;
  line-height: 1.1em;
  border-bottom: 1px solid #cccccc;
}
#todo-list li:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
#todo-list li.editing {
  padding: 0;
  border-bottom: 0;
}
#todo-list .editing .display,
#todo-list .edit {
  display: none;
}
#todo-list .editing .edit {
  display: block;
}
#todo-list .editing input {
  width: 444px;
  font-size: 24px;
  font-family: inherit;
  margin: 0;
  line-height: 1.6em;
  border: 0;
  outline: none;
  padding: 10px 7px 0px 27px;
  border: 1px solid #999999;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}
#todo-list .done .todo-content {
  text-decoration: line-through;
  color: #777777;
}
#todo-list .todo-destroy {
  position: absolute;
  right: 5px;
  top: 14px;
  display: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: url(destroy.png) no-repeat 0 0;
}
#todo-list li:hover .todo-destroy {
  display: block;
}
#todo-list .todo-destroy:hover {
  background-position: 0 -20px;
}

#todo-stats {
  *zoom: 1;
  margin-top: 10px;
  color: #777777;
}
#todo-stats:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
#todo-stats .todo-count {
  float: left;
}
#todo-stats .todo-count .number {
  font-weight: bold;
  color: #333333;
}
#todo-stats .todo-clear {
  float: right;
}
#todo-stats .todo-clear a {
  color: #777777;
  font-size: 12px;
}
#todo-stats .todo-clear a:visited {
  color: #777777;
}
#todo-stats .todo-clear a:hover {
  color: #336699;
}

#instructions {
  width: 520px;
  margin: 10px auto;
  color: #777777;
  text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
  text-align: center;
}
#instructions a {
  color: #336699;
}

#credits {
  width: 520px;
  margin: 30px auto;
  color: #999;
  text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
  text-align: center;
}
#credits a {
  color: #888;
}


#todoapp .content #create-todo {
  position: relative;
}
#todoapp .content #create-todo input {
  font-size: 24px;
  font-family: inherit;
  line-height: 1.4em;
  border: 0;
  outline: none;
  padding: 6px;
  border: 1px solid #999999;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}
#todoapp .content #create-todo span {
  position: absolute;
  z-index: 999;
  width: 170px;
  left: 50%;
  margin-left: -85px;
}
#todoapp .content ul#todo-list {
  margin-top: 10px;
}
#todoapp .content ul#todo-list li {
  padding: 15px 20px 15px 0;
  position: relative;
  font-size: 24px;
  border-bottom: 1px solid #cccccc;
  *zoom: 1;
  cursor: move;
}
#todoapp .content ul#todo-list li:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
#todoapp .content ul#todo-list li.editing {
  padding: 0;
  border-bottom: 0;
}
#todoapp .content ul#todo-list li.editing .todo-input {
  display: block;
  width: 466px;
  font-size: 24px;
  font-family: inherit;
  line-height: 1.4em;
  border: 0;
  outline: none;
  padding: 6px;
  border: 1px solid #999999;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}
#todoapp .content ul#todo-list li.editing .todo-content {
  display: none;
}
#todoapp .content ul#todo-list li.editing .todo-check {
  display: none;
}
#todoapp .content ul#todo-list li.editing .todo-destroy {
  display: none !important;
}
#todoapp .content ul#todo-list li .todo-input {
  display: none;
}
#todoapp .content ul#todo-list li .todo-check {
  position: relative;
  top: 6px;
  margin: 0 10px 0 7px;
  float: left;
}
#todoapp .content ul#todo-list li.done .todo-content {
  text-decoration: line-through;
  color: #777777;
}
#todoapp .content ul#todo-list li .todo-destroy {
  position: absolute;
  right: 0px;
  top: 16px;
  display: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
}
#todoapp .content ul#todo-list li:hover .todo-destroy {
  display: block;
}
#todoapp #todo-stats {
  color: #555555;
  background: #f4fce8;
  border-top: 1px solid #ededed;
  line-height: 36px;
}
#todoapp #todo-stats:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
#todoapp #todo-stats .todo-count {
  float: left;
}
#todoapp #todo-stats .todo-count .number {
  font-weight: bold;
  color: #555555;
}
#todoapp #todo-stats .todo-clear {
  float: right;
}
#todoapp #todo-stats .todo-clear a {
  display: block;
  line-height: 20px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
  color: #555555;
  font-size: 11px;
  margin-top: 8px;
  padding: 0 10px 1px;
}
#todoapp #todo-stats .todo-clear a:hover, #todoapp #todo-stats .todo-clear a:focus {
  background: rgba(0, 0, 0, 0.15);
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
  -o-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
  box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
}
#todoapp #todo-stats .todo-clear a:active {
  position: relative;
  top: 1px;
}
